<template>
    <h3>内联事件</h3>
    <p>Count is: {{ count }}</p>
    <button @dblclick="addCount">Add</button>
</template>
<script>
export default{
    data () {
        return {
            msg:"内联事件",
            count:0,
        }
    },
    methods:{
        addCount(e){
            this.count++;
            e.target.innerHTML ="Add" + this.count
            console.log();
        }
    }
}
</script>